<template>
  <div>
<h1>主页</h1>


<button  @click="add()">121231323</button>

<button @click="show()">22222222222222222</button>
  </div>
</template>

<script>
export default {
  data () {
    return {
      msg: ''
    }
  },
  methods: {
    add(){
    let asdasd=this.$index({
        title:'ewgfngg',
        score:()=>{
          alert('删除成功')
          asdasd.show=false
          
        }
      })
    },
    show(){
      var list=this.$Bullet({
        top:'确定吗',
        title:'删除吗',
        cg(){
          alert('取消成功')
          list.xs=false
        },
        sb(){
          alert('删除成功')
          list.xs=false
        }
      })
    }
  }
}
</script>

<style scoped>

</style>
